package org.xxpay.core.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ResendRecordExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    private Integer limit;

    private Integer offset;

    public ResendRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("Id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("Id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPayOrderIdIsNull() {
            addCriterion("PayOrderId is null");
            return (Criteria) this;
        }

        public Criteria andPayOrderIdIsNotNull() {
            addCriterion("PayOrderId is not null");
            return (Criteria) this;
        }

        public Criteria andPayOrderIdEqualTo(String value) {
            addCriterion("PayOrderId =", value, "payOrderId");
            return (Criteria) this;
        }

        public Criteria andPayOrderIdNotEqualTo(String value) {
            addCriterion("PayOrderId <>", value, "payOrderId");
            return (Criteria) this;
        }

        public Criteria andPayOrderIdGreaterThan(String value) {
            addCriterion("PayOrderId >", value, "payOrderId");
            return (Criteria) this;
        }

        public Criteria andPayOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("PayOrderId >=", value, "payOrderId");
            return (Criteria) this;
        }

        public Criteria andPayOrderIdLessThan(String value) {
            addCriterion("PayOrderId <", value, "payOrderId");
            return (Criteria) this;
        }

        public Criteria andPayOrderIdLessThanOrEqualTo(String value) {
            addCriterion("PayOrderId <=", value, "payOrderId");
            return (Criteria) this;
        }

        public Criteria andPayOrderIdLike(String value) {
            addCriterion("PayOrderId like", value, "payOrderId");
            return (Criteria) this;
        }

        public Criteria andPayOrderIdNotLike(String value) {
            addCriterion("PayOrderId not like", value, "payOrderId");
            return (Criteria) this;
        }

        public Criteria andPayOrderIdIn(List<String> values) {
            addCriterion("PayOrderId in", values, "payOrderId");
            return (Criteria) this;
        }

        public Criteria andPayOrderIdNotIn(List<String> values) {
            addCriterion("PayOrderId not in", values, "payOrderId");
            return (Criteria) this;
        }

        public Criteria andPayOrderIdBetween(String value1, String value2) {
            addCriterion("PayOrderId between", value1, value2, "payOrderId");
            return (Criteria) this;
        }

        public Criteria andPayOrderIdNotBetween(String value1, String value2) {
            addCriterion("PayOrderId not between", value1, value2, "payOrderId");
            return (Criteria) this;
        }

        public Criteria andResendTypeIsNull() {
            addCriterion("ResendType is null");
            return (Criteria) this;
        }

        public Criteria andResendTypeIsNotNull() {
            addCriterion("ResendType is not null");
            return (Criteria) this;
        }

        public Criteria andResendTypeEqualTo(Byte value) {
            addCriterion("ResendType =", value, "resendType");
            return (Criteria) this;
        }

        public Criteria andResendTypeNotEqualTo(Byte value) {
            addCriterion("ResendType <>", value, "resendType");
            return (Criteria) this;
        }

        public Criteria andResendTypeGreaterThan(Byte value) {
            addCriterion("ResendType >", value, "resendType");
            return (Criteria) this;
        }

        public Criteria andResendTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("ResendType >=", value, "resendType");
            return (Criteria) this;
        }

        public Criteria andResendTypeLessThan(Byte value) {
            addCriterion("ResendType <", value, "resendType");
            return (Criteria) this;
        }

        public Criteria andResendTypeLessThanOrEqualTo(Byte value) {
            addCriterion("ResendType <=", value, "resendType");
            return (Criteria) this;
        }

        public Criteria andResendTypeIn(List<Byte> values) {
            addCriterion("ResendType in", values, "resendType");
            return (Criteria) this;
        }

        public Criteria andResendTypeNotIn(List<Byte> values) {
            addCriterion("ResendType not in", values, "resendType");
            return (Criteria) this;
        }

        public Criteria andResendTypeBetween(Byte value1, Byte value2) {
            addCriterion("ResendType between", value1, value2, "resendType");
            return (Criteria) this;
        }

        public Criteria andResendTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("ResendType not between", value1, value2, "resendType");
            return (Criteria) this;
        }

        public Criteria andResendStateIsNull() {
            addCriterion("ResendState is null");
            return (Criteria) this;
        }

        public Criteria andResendStateIsNotNull() {
            addCriterion("ResendState is not null");
            return (Criteria) this;
        }

        public Criteria andResendStateEqualTo(Byte value) {
            addCriterion("ResendState =", value, "resendState");
            return (Criteria) this;
        }

        public Criteria andResendStateNotEqualTo(Byte value) {
            addCriterion("ResendState <>", value, "resendState");
            return (Criteria) this;
        }

        public Criteria andResendStateGreaterThan(Byte value) {
            addCriterion("ResendState >", value, "resendState");
            return (Criteria) this;
        }

        public Criteria andResendStateGreaterThanOrEqualTo(Byte value) {
            addCriterion("ResendState >=", value, "resendState");
            return (Criteria) this;
        }

        public Criteria andResendStateLessThan(Byte value) {
            addCriterion("ResendState <", value, "resendState");
            return (Criteria) this;
        }

        public Criteria andResendStateLessThanOrEqualTo(Byte value) {
            addCriterion("ResendState <=", value, "resendState");
            return (Criteria) this;
        }

        public Criteria andResendStateIn(List<Byte> values) {
            addCriterion("ResendState in", values, "resendState");
            return (Criteria) this;
        }

        public Criteria andResendStateNotIn(List<Byte> values) {
            addCriterion("ResendState not in", values, "resendState");
            return (Criteria) this;
        }

        public Criteria andResendStateBetween(Byte value1, Byte value2) {
            addCriterion("ResendState between", value1, value2, "resendState");
            return (Criteria) this;
        }

        public Criteria andResendStateNotBetween(Byte value1, Byte value2) {
            addCriterion("ResendState not between", value1, value2, "resendState");
            return (Criteria) this;
        }

        public Criteria andBeforeStateIsNull() {
            addCriterion("BeforeState is null");
            return (Criteria) this;
        }

        public Criteria andBeforeStateIsNotNull() {
            addCriterion("BeforeState is not null");
            return (Criteria) this;
        }

        public Criteria andBeforeStateEqualTo(Byte value) {
            addCriterion("BeforeState =", value, "beforeState");
            return (Criteria) this;
        }

        public Criteria andBeforeStateNotEqualTo(Byte value) {
            addCriterion("BeforeState <>", value, "beforeState");
            return (Criteria) this;
        }

        public Criteria andBeforeStateGreaterThan(Byte value) {
            addCriterion("BeforeState >", value, "beforeState");
            return (Criteria) this;
        }

        public Criteria andBeforeStateGreaterThanOrEqualTo(Byte value) {
            addCriterion("BeforeState >=", value, "beforeState");
            return (Criteria) this;
        }

        public Criteria andBeforeStateLessThan(Byte value) {
            addCriterion("BeforeState <", value, "beforeState");
            return (Criteria) this;
        }

        public Criteria andBeforeStateLessThanOrEqualTo(Byte value) {
            addCriterion("BeforeState <=", value, "beforeState");
            return (Criteria) this;
        }

        public Criteria andBeforeStateIn(List<Byte> values) {
            addCriterion("BeforeState in", values, "beforeState");
            return (Criteria) this;
        }

        public Criteria andBeforeStateNotIn(List<Byte> values) {
            addCriterion("BeforeState not in", values, "beforeState");
            return (Criteria) this;
        }

        public Criteria andBeforeStateBetween(Byte value1, Byte value2) {
            addCriterion("BeforeState between", value1, value2, "beforeState");
            return (Criteria) this;
        }

        public Criteria andBeforeStateNotBetween(Byte value1, Byte value2) {
            addCriterion("BeforeState not between", value1, value2, "beforeState");
            return (Criteria) this;
        }

        public Criteria andAfterStateIsNull() {
            addCriterion("AfterState is null");
            return (Criteria) this;
        }

        public Criteria andAfterStateIsNotNull() {
            addCriterion("AfterState is not null");
            return (Criteria) this;
        }

        public Criteria andAfterStateEqualTo(Byte value) {
            addCriterion("AfterState =", value, "afterState");
            return (Criteria) this;
        }

        public Criteria andAfterStateNotEqualTo(Byte value) {
            addCriterion("AfterState <>", value, "afterState");
            return (Criteria) this;
        }

        public Criteria andAfterStateGreaterThan(Byte value) {
            addCriterion("AfterState >", value, "afterState");
            return (Criteria) this;
        }

        public Criteria andAfterStateGreaterThanOrEqualTo(Byte value) {
            addCriterion("AfterState >=", value, "afterState");
            return (Criteria) this;
        }

        public Criteria andAfterStateLessThan(Byte value) {
            addCriterion("AfterState <", value, "afterState");
            return (Criteria) this;
        }

        public Criteria andAfterStateLessThanOrEqualTo(Byte value) {
            addCriterion("AfterState <=", value, "afterState");
            return (Criteria) this;
        }

        public Criteria andAfterStateIn(List<Byte> values) {
            addCriterion("AfterState in", values, "afterState");
            return (Criteria) this;
        }

        public Criteria andAfterStateNotIn(List<Byte> values) {
            addCriterion("AfterState not in", values, "afterState");
            return (Criteria) this;
        }

        public Criteria andAfterStateBetween(Byte value1, Byte value2) {
            addCriterion("AfterState between", value1, value2, "afterState");
            return (Criteria) this;
        }

        public Criteria andAfterStateNotBetween(Byte value1, Byte value2) {
            addCriterion("AfterState not between", value1, value2, "afterState");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("Amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("Amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(Long value) {
            addCriterion("Amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(Long value) {
            addCriterion("Amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(Long value) {
            addCriterion("Amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("Amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(Long value) {
            addCriterion("Amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(Long value) {
            addCriterion("Amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<Long> values) {
            addCriterion("Amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<Long> values) {
            addCriterion("Amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(Long value1, Long value2) {
            addCriterion("Amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(Long value1, Long value2) {
            addCriterion("Amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andOperateUserIdIsNull() {
            addCriterion("OperateUserId is null");
            return (Criteria) this;
        }

        public Criteria andOperateUserIdIsNotNull() {
            addCriterion("OperateUserId is not null");
            return (Criteria) this;
        }

        public Criteria andOperateUserIdEqualTo(Long value) {
            addCriterion("OperateUserId =", value, "operateUserId");
            return (Criteria) this;
        }

        public Criteria andOperateUserIdNotEqualTo(Long value) {
            addCriterion("OperateUserId <>", value, "operateUserId");
            return (Criteria) this;
        }

        public Criteria andOperateUserIdGreaterThan(Long value) {
            addCriterion("OperateUserId >", value, "operateUserId");
            return (Criteria) this;
        }

        public Criteria andOperateUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("OperateUserId >=", value, "operateUserId");
            return (Criteria) this;
        }

        public Criteria andOperateUserIdLessThan(Long value) {
            addCriterion("OperateUserId <", value, "operateUserId");
            return (Criteria) this;
        }

        public Criteria andOperateUserIdLessThanOrEqualTo(Long value) {
            addCriterion("OperateUserId <=", value, "operateUserId");
            return (Criteria) this;
        }

        public Criteria andOperateUserIdIn(List<Long> values) {
            addCriterion("OperateUserId in", values, "operateUserId");
            return (Criteria) this;
        }

        public Criteria andOperateUserIdNotIn(List<Long> values) {
            addCriterion("OperateUserId not in", values, "operateUserId");
            return (Criteria) this;
        }

        public Criteria andOperateUserIdBetween(Long value1, Long value2) {
            addCriterion("OperateUserId between", value1, value2, "operateUserId");
            return (Criteria) this;
        }

        public Criteria andOperateUserIdNotBetween(Long value1, Long value2) {
            addCriterion("OperateUserId not between", value1, value2, "operateUserId");
            return (Criteria) this;
        }

        public Criteria andOperateUserNameIsNull() {
            addCriterion("OperateUserName is null");
            return (Criteria) this;
        }

        public Criteria andOperateUserNameIsNotNull() {
            addCriterion("OperateUserName is not null");
            return (Criteria) this;
        }

        public Criteria andOperateUserNameEqualTo(String value) {
            addCriterion("OperateUserName =", value, "operateUserName");
            return (Criteria) this;
        }

        public Criteria andOperateUserNameNotEqualTo(String value) {
            addCriterion("OperateUserName <>", value, "operateUserName");
            return (Criteria) this;
        }

        public Criteria andOperateUserNameGreaterThan(String value) {
            addCriterion("OperateUserName >", value, "operateUserName");
            return (Criteria) this;
        }

        public Criteria andOperateUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("OperateUserName >=", value, "operateUserName");
            return (Criteria) this;
        }

        public Criteria andOperateUserNameLessThan(String value) {
            addCriterion("OperateUserName <", value, "operateUserName");
            return (Criteria) this;
        }

        public Criteria andOperateUserNameLessThanOrEqualTo(String value) {
            addCriterion("OperateUserName <=", value, "operateUserName");
            return (Criteria) this;
        }

        public Criteria andOperateUserNameLike(String value) {
            addCriterion("OperateUserName like", value, "operateUserName");
            return (Criteria) this;
        }

        public Criteria andOperateUserNameNotLike(String value) {
            addCriterion("OperateUserName not like", value, "operateUserName");
            return (Criteria) this;
        }

        public Criteria andOperateUserNameIn(List<String> values) {
            addCriterion("OperateUserName in", values, "operateUserName");
            return (Criteria) this;
        }

        public Criteria andOperateUserNameNotIn(List<String> values) {
            addCriterion("OperateUserName not in", values, "operateUserName");
            return (Criteria) this;
        }

        public Criteria andOperateUserNameBetween(String value1, String value2) {
            addCriterion("OperateUserName between", value1, value2, "operateUserName");
            return (Criteria) this;
        }

        public Criteria andOperateUserNameNotBetween(String value1, String value2) {
            addCriterion("OperateUserName not between", value1, value2, "operateUserName");
            return (Criteria) this;
        }

        public Criteria andOperateUserBelongSystemIsNull() {
            addCriterion("OperateUserBelongSystem is null");
            return (Criteria) this;
        }

        public Criteria andOperateUserBelongSystemIsNotNull() {
            addCriterion("OperateUserBelongSystem is not null");
            return (Criteria) this;
        }

        public Criteria andOperateUserBelongSystemEqualTo(Byte value) {
            addCriterion("OperateUserBelongSystem =", value, "operateUserBelongSystem");
            return (Criteria) this;
        }

        public Criteria andOperateUserBelongSystemNotEqualTo(Byte value) {
            addCriterion("OperateUserBelongSystem <>", value, "operateUserBelongSystem");
            return (Criteria) this;
        }

        public Criteria andOperateUserBelongSystemGreaterThan(Byte value) {
            addCriterion("OperateUserBelongSystem >", value, "operateUserBelongSystem");
            return (Criteria) this;
        }

        public Criteria andOperateUserBelongSystemGreaterThanOrEqualTo(Byte value) {
            addCriterion("OperateUserBelongSystem >=", value, "operateUserBelongSystem");
            return (Criteria) this;
        }

        public Criteria andOperateUserBelongSystemLessThan(Byte value) {
            addCriterion("OperateUserBelongSystem <", value, "operateUserBelongSystem");
            return (Criteria) this;
        }

        public Criteria andOperateUserBelongSystemLessThanOrEqualTo(Byte value) {
            addCriterion("OperateUserBelongSystem <=", value, "operateUserBelongSystem");
            return (Criteria) this;
        }

        public Criteria andOperateUserBelongSystemIn(List<Byte> values) {
            addCriterion("OperateUserBelongSystem in", values, "operateUserBelongSystem");
            return (Criteria) this;
        }

        public Criteria andOperateUserBelongSystemNotIn(List<Byte> values) {
            addCriterion("OperateUserBelongSystem not in", values, "operateUserBelongSystem");
            return (Criteria) this;
        }

        public Criteria andOperateUserBelongSystemBetween(Byte value1, Byte value2) {
            addCriterion("OperateUserBelongSystem between", value1, value2, "operateUserBelongSystem");
            return (Criteria) this;
        }

        public Criteria andOperateUserBelongSystemNotBetween(Byte value1, Byte value2) {
            addCriterion("OperateUserBelongSystem not between", value1, value2, "operateUserBelongSystem");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}